package com.ln.demo02;

import javax.sound.midi.Soundbank;
import java.io.Serializable;

/**
 * @author Ln
 * @version 终极版
 * @date 2022/10/25 15:47
 */
public class Test02 {
    public static void main(String[] args) {
        Point<Integer> point = new Point<>(14, 16);
        Integer x = point.getX();
        Integer y = point.getY();
        System.out.println(point);

        Point<String> point1 = new Point<>("你好世界","good");
        String x1 = point1.getX();
        String y1 = point1.getY();
        System.out.println(point1);

    }
}
